/*
 * Copyright (c) 2021. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
 * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
 * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus.
 * Vestibulum commodo. Ut rhoncus gravida arcu.
 */

import java.util.Scanner;

/**
 * 程序执行流程
 */
public class Demo01 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        //顺序流程
        System.out.println("a");
        System.out.println("b");
        System.out.println("c");

        //分支流程
        System.out.println("请输入一个10左右的数字");
        int a = scanner.nextInt();
        if(a>10){
            System.out.println("输入的数字>10");
        }else{
            System.out.println("输入的数字不>10");
        }

        //循环流程
        for (int i=1;i<10;i++) {
            System.out.println("第"+i+"次喜欢你!");
        }

        System.out.println("程序结束");
    }
}
